package com.sky.service;

import com.sky.domain.Scheduling;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.dto.SchedulingFormDto;
import com.sky.dto.SchedulingQueryDto;

import java.util.List;

/**
 * @author sky
 * @create 2021-07-16 11:29
 */
public interface SchedulingService {
    /**
     * 查询排班数据
     */
    List<Scheduling> queryScheduling(SchedulingQueryDto schedulingQueryDto);

    /**
     * 保存排班信息
     */
    int saveScheduling(SchedulingFormDto schedulingFormDto);

    /**
     * 根据条件查询有号的部门编号
     */
    List<Long> queryHasSchedulingDeptIds(Long deptId, String schedulingDay, String schedulingType, String subsectionType);
}
